package com.bike.bikeserver.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bike.bikeserver.domain.vo.BaseVo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @version 1.0
 * @Author ZZX
 * @Date 2023/7/5 17:27
 */
@Data
@TableName(value = "bike_dispatch")
public class BikeDispatch extends BaseVo implements Serializable
{
    /**
     * 区域名称
     */
    private String zoneName;

    /**
     * 调度单车情况图
     */
    private String dispatchImgUrl;

    /**
     *  调度申请人
     */
    private  String dispatchApplier;

    /**
     * 调度接受人
     */
    private String dispatchReceiver;

    /**
     * 调度处理状态
     */
    private String dispatchState;

    /**
     * 调度时间
     */
    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dispatchTime;

    /**
     * 调度信息
     */
    @TableField(exist = false)
    private String dispatchInfo = "哈啰 美团 200辆+";/**/
}
